package ysq.xyg.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 留言
 */
@Data
@Table(name = "web_message")
public class WebMessage implements Serializable {

    @Id
    private String id;

    private String title;
    /**
     * 状态：1、待处理，2、已处理
     */
    private String type;
    private String email;
    private String content;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    @Column(name = "update_time")
    private Date updateTime;
}